package com.dyrj.pig.service;

import com.dyrj.pig.bean.TOrder;
import com.dyrj.pig.bean.TSuborder;
import com.dyrj.vo.PageResultMsg;
import com.dyrj.vo.ResultMsg;

public interface TOrderService {

	/**
	 * 获取列表
	 * @param record
	 * @return
	 */
	PageResultMsg table(TOrder record);

	/**
	 * 新增
	 * @param record
	 * @return
	 */
	ResultMsg add(TOrder record);


	/**
	 * @Title: info
	 * @Description: (查看详情)
	 * @Params: [id]
	 * @Return: com.dyrj.base.system.user.model.TYskPay    返回类型
	 * @Author: 
	 * @Date: 2018/9/4 下午3:19
	 */
	TOrder info(String id);

	TSuborder edit_threeorder(String id);

	/**
	 * @Title: update 
	 * @Description: (更新) 
	 * @param record
	 * @return ResultMsg    返回类型
	 */
	ResultMsg update(TOrder record);
	
	/**
	 * @Title: delete 
	 * @Description: (删除成功) 
	 * @param id
	 * @return ResultMsg    返回类型
	 */
	ResultMsg delete(String id);


}
